# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=rlogin-scanner
pkgver=0.2
pkgrel=2
groups=('blackarch' 'blackarch-cracker' 'blackarch-scanner')
pkgdesc='Multithreaded rlogin scanner. Tested on Linux, OpenBSD and Solaris.'
arch=('x86_64' 'aarch64')
url='http://wayreth.eu.org/old_page/'
license=('custom:unknown')
source=('http://wayreth.eu.org/rlogin_scanner.c')
sha512sums=('b28b3185fb37ff786768d8b0425ca6494e2aca79ca47998ecffc0bf289041d9c647df52e73d5b59d2feed7822ec2e429309dbeedf4b2a4fee840a25bc389dafa')

build() {
  gcc rlogin_scanner.c -o $pkgname -lpthread
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

